<?php

class FilterProcessing extends CoreController {

	function __construct()
	{
		parent::__construct();
	}

	public static function init($className=__CLASS__)
	{
		return new $className;
	}

	public function FilterRunning()
	{
		add_filter('excerpt_length',array($this,'filterExcerptLength'));
		add_filter('excerpt_more',array($this,'customExcerptMore'));
	}

	public function customExcerptMore($more) {
		return "...";
	}


	public function filterExcerptLength($length) {
  		return 60;
	}
}